package com.wcsy.myblog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wcsy.myblog.entity.Lkplus;
import org.apache.ibatis.annotations.Param;

public interface LkPlusMapper extends BaseMapper<Lkplus> {
    /**
     * 点赞
     * @param lkplus
     */
    void insertLkpuls(@Param("lkplus") Lkplus lkplus);
    /**
     *  取消点赞
     */
    void deleteLkpuls(@Param("userId") int userId , @Param("articleId") int articleId);

}
